import request from '@/utils/request';


export async function query({...resetParams}) {
  return request(`/wechat_menus`,{
    method:'GET',
    params:{
      ...resetParams,
      order_direction:'desc'
    }
  });
}




export async function edit(restParams) {
  return request(`/wechat_menus`, {
    method: 'PUT',
    data: {
      button:restParams,
    },
  });
}


